package com.jake.spring.dao.impl;

import com.jake.spring.dao.BeanDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Repository;

@Repository("singletonDao")
@Slf4j
public class BeanDaoSingletonImpl implements BeanDao {

    @Override
    public int queryHashCode() {
        log.info("hashcode = " + hashCode());
        return hashCode();
    }
}
